package com.sumainfor.schedule.fallback;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.schedule.feign.ZpcTenantFeign;
import org.springframework.stereotype.Component;

import java.util.HashMap;
import java.util.Map;

/**
 * @author Meng
 * @ClassName ZpcTenantFallback
 * @date 2019/12/29 14:43
 * @description: TODO
 */
@Component
public class ZpcTenantFallback implements ZpcTenantFeign {

    @Override
    public JsonResult getTenOpenId(Map<String, Object> params) {
        return JsonResult.error("租客端服务器繁忙");
    }
}
